Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/diamante-io/go-xdr
/ types & classes
Types & classes
58 in github.com/diamante-io/go-xdr
⨍
Functions
238
◇
Types & classes
58
↓ 10 callers
TypeAlias
AnEnum
xdr3/decode_test.go:68
↓ 1 callers
TypeAlias
String32
xdr3/decode_test.go:867
↓ 1 callers
TypeAlias
defEnum
xdr3/decode_test.go:985
Struct
DecodeOptions
DecodeOptions configures how Decoding is done.
xdr3/decode.go:37
Struct
Decoder
A Decoder wraps an io.Reader that is expected to provide an XDR-encoded byte stream and provides several exposed methods to manually decode various XD
xdr2/decode.go:91
Struct
Decoder
A Decoder wraps an io.Reader that is expected to provide an XDR-encoded byte stream and provides several exposed methods to manually decode various XD
xdr3/decode.go:126
Struct
Decoder
A Decoder contains information about the state of a decode operation from an XDR-encoded byte slice into interface values and provides several exposed
xdr/decode.go:112
Struct
Encoder
An Encoder wraps an io.Writer that will receive the XDR encoded byte stream. See NewEncoder.
xdr2/encode.go:82
Struct
Encoder
An Encoder wraps an io.Writer that will receive the XDR encoded byte stream. See NewEncoder.
xdr3/encode.go:82
Struct
Encoder
An Encoder contains information about the state of an encode operation from an interface value into an XDR-encoded byte slice. See NewEncoder.
xdr/encode.go:100
Interface
Enum
Enum indicates this implementing type should be serialized/deserialized as an XDR Enum. Implement ValidEnum to specify what values are valid for this
xdr3/main.go:6
TypeAlias
ErrorCode
ErrorCode identifies a kind of error.
xdr2/error.go:24
TypeAlias
ErrorCode
ErrorCode identifies a kind of error.
xdr3/error.go:24
TypeAlias
ErrorCode
ErrorCode identifies a kind of error.
xdr/error.go:24
Struct
ImageHeader
Hypothetical image header format.
xdr2/bench_test.go:32
Struct
ImageHeader
xdr2/example_test.go:30
Struct
ImageHeader
Hypothetical image header format.
xdr3/bench_test.go:32
Struct
ImageHeader
xdr3/example_test.go:30
Struct
ImageHeader
Hypothetical image header format.
xdr/bench_test.go:29
Struct
ImageHeader
xdr/example_test.go:29
Struct
MarshalError
MarshalError describes a problem encountered while marshaling data. Some potential issues are unsupported Go types, attempting to encode more opaque d
xdr2/error.go:131
Struct
MarshalError
MarshalError describes a problem encountered while marshaling data. Some potential issues are unsupported Go types, attempting to encode more opaque d
xdr3/error.go:150
Struct
MarshalError
MarshalError describes a problem encountered while marshaling data. Some potential issues are unsupported Go types, attempting to encode more opaque d
xdr/error.go:121
Interface
Sized
Sized types are types that have an explicit maximum size. By default, the variable length XDR types (VarArray, VarOpaque and String) have a maximum b
xdr3/main.go:14
Interface
Union
Union indicates the implementing type should be serialized/deserialized as an XDR Union. The implementer must provide public fields, one for the unio
xdr3/main.go:27
Struct
UnmarshalError
UnmarshalError describes a problem encountered while unmarshaling data. Some potential issues are unsupported Go types, attempting to decode a value w
xdr2/error.go:92
Struct
UnmarshalError
UnmarshalError describes a problem encountered while unmarshaling data. Some potential issues are unsupported Go types, attempting to decode a value w
xdr3/error.go:106
Struct
UnmarshalError
UnmarshalError describes a problem encountered while unmarshaling data. Some potential issues are unsupported Go types, attempting to decode a value w
xdr/error.go:84
Struct
aUnion
xdr3/decode_test.go:74
Struct
allTypesTest
allTypesTest is used to allow testing of the Unmarshal function into struct fields of all supported types.
xdr2/decode_test.go:39
Struct
allTypesTest
allTypesTest is used to allow testing of the Unmarshal function into struct fields of all supported types.
xdr3/decode_test.go:40
Struct
allTypesTest
allTypesTest is used to allow testing of the Unmarshal function into struct fields of all supported types.
xdr/decode_test.go:36
TypeAlias
decodeFunc
decodeFunc is used to identify which public function of the Decoder object a test applies to.
xdr2/decode_test.go:412
TypeAlias
decodeFunc
decodeFunc is used to identify which public function of the Decoder object a test applies to.
xdr3/decode_test.go:537
TypeAlias
decodeFunc
decodeFunc is used to identify which public function of the Decoder object a test applies to.
xdr/decode_test.go:292
Struct
defUnion
xdr3/decode_test.go:991
TypeAlias
encodeFunc
encodeFunc is used to identify which public function of the Encoder object a test applies to.
xdr2/encode_test.go:349
TypeAlias
encodeFunc
encodeFunc is used to identify which public function of the Encoder object a test applies to.
xdr3/encode_test.go:497
TypeAlias
encodeFunc
encodeFunc is used to identify which public function of the Encoder object a test applies to.
xdr/encode_test.go:260
Struct
fixedWriter
fixedWriter implements the io.Writer interface and intentially allows testing of error paths by forcing short writes.
xdr2/fixedIO_test.go:25
Struct
fixedWriter
fixedWriter implements the io.Writer interface and intentially allows testing of error paths by forcing short writes.
xdr3/fixedIO_test.go:25
Interface
lenLeft
xdr3/decode.go:113
Struct
opaqueStruct
opaqueStruct is used to test handling of uint8 slices and arrays.
xdr2/decode_test.go:62
Struct
opaqueStruct
opaqueStruct is used to test handling of uint8 slices and arrays.
xdr3/decode_test.go:63
Struct
readerLenWrapper
readerLenWrapper wraps a reader an initial length and provides a Len() method indicating how much input is left
xdr3/decode.go:136
Struct
sizedField
xdr3/decode_test.go:928
Struct
structWithPointer
xdr3/decode_test.go:97
Struct
subTest
subTest is used to allow testing of the Unmarshal function into struct fields which are structs themselves.
xdr2/decode_test.go:32
Struct
subTest
subTest is used to allow testing of the Unmarshal function into struct fields which are structs themselves.
xdr3/decode_test.go:33
Struct
subTest
subTest is used to allow testing of the Unmarshal function into struct fields which are structs themselves.
xdr/decode_test.go:29
Struct
unexportedStruct
Ensure unmarshal to struct with both exported and unexported fields skips the unexported fields but still unmarshals to the exported fields.
xdr2/decode_test.go:687
Struct
unexportedStruct
Ensure marshal of a struct with both exported and unexported fields skips the unexported fields but still marshals to the exported fields.
xdr2/encode_test.go:578
Struct
unexportedStruct
Ensure unmarshal to struct with both exported and unexported fields skips the unexported fields but still unmarshals to the exported fields.
xdr3/decode_test.go:826
Struct
unexportedStruct
Ensure marshal of a struct with both exported and unexported fields skips the unexported fields but still marshals to the exported fields.
xdr3/encode_test.go:726
Struct
unsettablePointerStruct
Ensure decode to struct with unsettable pointer fields return expected error.
xdr2/decode_test.go:717
Struct
unsettablePointerStruct
Ensure decode to struct with unsettable pointer fields return expected error.
xdr3/decode_test.go:856
Struct
unsettableStruct
Ensure decode to struct with unsettable fields return expected error.
xdr2/decode_test.go:705
Struct
unsettableStruct
Ensure decode to struct with unsettable fields return expected error.
xdr3/decode_test.go:844