Skip to content
Back to top
View this page

# StreamSizing

class dsviper.StreamSizing

  Bases: `object`

  An interface used to get the size of data.

  Note: Not directly instantiable.

  size_of_blob_id() → int

    Return the size of a blob_id.

  size_of_bool() → int

    Return the size of a bool.

  size_of_commit_id() → int

    Return the size of a commit_id.

  size_of_double() → int

    Return the size of a double.

  size_of_doubles(size: int) → int

    Return the size for an array of double.

  size_of_float() → int

    Return the size of a float.

  size_of_floats(size: int) → int

    Return the size for an array of float.

  size_of_int16() → int

    Return the size of an int16.

  size_of_int16s(size: int) → int

    Return the size for an array of int16.

  size_of_int32() → int

    Return the size of an int32.

  size_of_int32s(size: int) → int

    Return the size for an array of int32.

  size_of_int64() → int

    Return the size of an int64.

  size_of_int64s(size: int) → int

    Return the size for an array of uint64.

  size_of_int8() → int

    Return the size of an int8.

  size_of_int8s(size: int) → int

    Return the size for an array of int8.

  size_of_uint16() → int

    Return the size of an uint16.

  size_of_uint16s(size: int) → int

    Return the size for an array of uint16.

  size_of_uint32() → int

    Return the size of an uint32.

  size_of_uint32s(size: int) → int

    Return the size for an array of uint32.

  size_of_uint64() → int

    Return the size of an uint64.

  size_of_uint64s(size: int) → int

    Return the size for an array of uint64.

  size_of_uint8() → int

    Return the size of an uint8.

  size_of_uint8s(size: int) → int

    Return the size for an array of uint8.

  size_of_uuid() → int

    Return the size of an uuid.