Class StringArrayFieldWriter

    • Method Detail

      • writeTo

        public long writeTo​(org.apache.datasketches.memory.WritableMemory memory,
                            long position,
                            long maxSize)
        Description copied from interface: FieldWriter
        Writes the current selection at the given memory position.
        Specified by:
        writeTo in interface FieldWriter
        Parameters:
        memory - memory region in little-endian order
        position - position to write
        maxSize - maximum number of bytes to write
        Returns:
        number of bytes written, or -1 if "maxSize" was not enough memory