Class FlexBuffers.Vector

    • Constructor Detail

      • Vector

        Vector​(ReadBuf bb,
               int end,
               int byteWidth)
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Checks if the vector is empty
        Returns:
        true if vector is empty
      • toString

        public java.lang.StringBuilder toString​(java.lang.StringBuilder sb)
        Appends a text(JSON) representation to a `StringBuilder`
        Specified by:
        toString in class FlexBuffers.Object
      • get

        public FlexBuffers.Reference get​(int index)
        Get a element in a vector by index
        Parameters:
        index - position of the element
        Returns:
        Reference to the element