class BinaryString extends LazyBinaryFormat<String> implements Comparable<BinaryString> {

	public boolean contains(final BinaryString s) {
		ensureMaterialized();
		s.ensureMaterialized();
		if (s.binarySection.sizeInBytes == 0) {
			return true;
		}
		int find = SegmentsUtil.find(
			binarySection.segments, binarySection.offset, binarySection.sizeInBytes,
			s.binarySection.segments, s.binarySection.offset, s.binarySection.sizeInBytes);
		return find != -1;
	}

	public  BinaryString();
	private  BinaryString(MemorySegment[] segments, int offset, int sizeInBytes);
	private  BinaryString(String javaObject);
	private  BinaryString(MemorySegment[] segments, int offset, int sizeInBytes, String javaObject);

}