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

	public boolean contains(final BinaryString s) {
		ensureMaterialized();
		s.ensureMaterialized();
		if (s.sizeInBytes == 0) {
			return true;
		}
		int find = SegmentsUtil.find(
			segments, offset, sizeInBytes,
			s.segments, s.offset, s.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);

}