Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davecgh/go-xdr
/ types & classes
Types & classes
30 in github.com/davecgh/go-xdr
⨍
Functions
135
◇
Types & classes
30
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:98
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 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
TypeAlias
ErrorCode
ErrorCode identifies a kind of error.
xdr2/error.go:22
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.
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:141
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
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:90
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
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.
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.
xdr/decode_test.go:292
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.
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
myMap
xdr2/decode_test.go:656
Struct
opaqueStruct
opaqueStruct is used to test handling of uint8 slices and arrays.
xdr2/decode_test.go:62
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.
xdr/decode_test.go:29
Struct
test
xdr2/decode_test.go:454
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:756
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
unsettablePointerStruct
Ensure decode to struct with unsettable pointer fields return expected error.
xdr2/decode_test.go:786
Struct
unsettableStruct
Ensure decode to struct with unsettable fields return expected error.
xdr2/decode_test.go:774