Record
Public / Constructors
Read
Begins to read a record from the given Protocol Buffers wire format stream.
- IOException
-
If an I/O error has occurred.
Write
Begins to write a record to the given Protocol Buffers wire format stream.
- IOException
-
If an I/O error has occurred.
Public / Methods
Read_bool_1
Reads a single bool
field value (Wire.VARINT) or the last one of a packed repeated field (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_bool_N
2 overloads
Reads a single bool
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single bool
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_double_N
2 overloads
- IOException
-
If an I/O error has occurred.
- IOException
-
If an I/O error has occurred.
Read_enum_1
Reads a single enum
field value (Wire.VARINT) or the last one of a packed repeated field (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_enum_N
2 overloads
Reads a single enum
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single enum
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_fixed32_1
Reads a single fixed32
, sfixed32
field value (Wire.I32) or the last one of a packed repeated field (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_fixed32_N
2 overloads
Reads a single fixed32
, sfixed32
field value (Wire.I32) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single fixed32
, sfixed32
field value (Wire.I32) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_fixed64_1
Reads a single fixed64
, sfixed64
field value (Wire.I64) or the last one of a packed repeated field (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_fixed64_N
2 overloads
Reads a single fixed64
, sfixed64
field value (Wire.I64) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single fixed64
, sfixed64
field value (Wire.I64) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_float_N
2 overloads
- IOException
-
If an I/O error has occurred.
- IOException
-
If an I/O error has occurred.
Read_object
3 overloads
Reads a single embedded message
field value (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single embedded message
field value (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single embedded message
field value (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_object2
Reads a single embedded message
field value (Wire.LEN).
This method calls IProtonizable.ProtoDefault on current in, then delegates to Read_object1 and finally invokes the given output in callback, passing current in.
- IOException
-
If an I/O error has occurred.
Read_sint32_1
Reads a single sint32
field value (Wire.VARINT) or the last one of a packed repeated field (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_sint32_N
2 overloads
Reads a single sint32
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single sint32
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_sint64_1
Reads a single sint64
field value (Wire.VARINT) or the last one of a packed repeated field (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_sint64_N
2 overloads
Reads a single sint64
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single sint64
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_string
3 overloads
Reads a single string
field value (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single string
field value (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single string
field value (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_uint32_1
Reads a single int32
, uint32
, enum
field value ( Wire.VARINT) or the last one of a packed repeated field ( Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_uint32_N
2 overloads
Reads a single int32
, uint32
, enum
field value ( Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single int32
, uint32
, enum
field value ( Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_uint64_1
Reads a single int64
, uint64
field value (Wire.VARINT) or the last one of a packed repeated field (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Read_uint64_N
2 overloads
Reads a single int64
, uint64
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Reads a single int64
, uint64
field value (Wire.VARINT) or all packed repeated field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_bool_1
Writes a single bool
field value (Wire.VARINT).
- IOException
-
If an I/O error has occurred.
Write_bool_N
2 overloads
Writes packed repeated bool
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated bool
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_double_1
Writes a single double
field value (Wire.I64).
- IOException
-
If an I/O error has occurred.
Write_double_N
2 overloads
Writes packed repeated double
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated double
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_enum_1
Writes a single enum
field value (Wire.VARINT).
- IOException
-
If an I/O error has occurred.
Write_enum_N
2 overloads
Writes packed repeated enum
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated enum
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_fixed32_1
Writes a single fixed32
, sfixed32
field value (Wire.I32).
- IOException
-
If an I/O error has occurred.
Write_fixed32_N
2 overloads
Writes packed repeated fixed32
, sfixed32
field values ( Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated fixed32
, sfixed32
field values ( Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_fixed64_1
Writes a single fixed64
, sfixed64
field value (Wire.I64).
- IOException
-
If an I/O error has occurred.
Write_fixed64_N
2 overloads
Writes packed repeated fixed64
, sfixed64
field values ( Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated fixed64
, sfixed64
field values ( Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_float_1
Writes a single float
field value (Wire.I32)
- IOException
-
If an I/O error has occurred.
Write_float_N
2 overloads
Writes packed repeated float
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated float
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_object
Writes a single embedded message
field value (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_sint32_1
Writes a single sint32
field value.
- IOException
-
If an I/O error has occurred.
- See also
Write_sint32_N
2 overloads
Writes packed repeated sint32
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated sint32
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_sint64_1
Writes a single sint64
field value.
- IOException
-
If an I/O error has occurred.
- See also
Write_sint64_N
2 overloads
Writes packed repeated sint32
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated sint32
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_string
Writes a single string
field value (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_uint32_1
Writes a single int32
, uint32
, enum
field value ( Wire.VARINT)
- IOException
-
If an I/O error has occurred.
Write_uint32_N
2 overloads
Writes packed repeated int32
, uint32
, enum
field values ( Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated int32
, uint32
, enum
field values ( Wire.LEN).
- IOException
-
If an I/O error has occurred.
Write_uint64_1
Writes a single int64
, uint64
field value (Wire.VARINT).
- IOException
-
If an I/O error has occurred.
Write_uint64_N
2 overloads
Writes packed repeated int64
, uint64
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.
Writes packed repeated int64
, uint64
field values (Wire.LEN).
- IOException
-
If an I/O error has occurred.