Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davecgh/go-xdr
/ functions
Functions
135 in github.com/davecgh/go-xdr
⨍
Functions
135
◇
Types & classes
30
↓ 1 callers
Method
encodeStruct
encodeStruct appends an XDR encoded representation of each value in the exported fields of the struct represented by the passed reflection value to th
xdr/encode.go:434
Function
BenchmarkMarshal
BenchmarkMarshal benchmarks the Marshal function by using a dummy ImageHeader structure.
xdr2/bench_test.go:57
Function
BenchmarkMarshal
(b *testing.B)
xdr/bench_test.go:49
Function
BenchmarkUnmarshal
BenchmarkUnmarshal benchmarks the Unmarshal function by using a dummy ImageHeader structure.
xdr2/bench_test.go:29
Function
BenchmarkUnmarshal
(b *testing.B)
xdr/bench_test.go:26
Method
Error
Error satisfies the error interface and prints human-readable errors.
xdr2/error.go:99
Method
Error
Error satisfies the error interface and prints human-readable errors.
xdr/error.go:92
Method
Error
Error satisfies the error interface and prints human-readable errors.
xdr/error.go:129
Function
ExampleMarshal
This example demonstrates how to use Marshal to automatically XDR encode data using reflection.
xdr2/example_test.go:28
Function
ExampleMarshal
This example demonstrates how to use Marshal to automatically XDR encode data using reflection.
xdr/example_test.go:27
Function
ExampleNewDecoder
This example demonstrates how to manually decode XDR encoded data from a reader. Compare this example with the Unmarshal example which performs the sa
xdr2/example_test.go:98
Function
ExampleNewDecoder
This example demonstrates how to manually decode XDR encoded data from a byte slice. Compare this example with the Unmarshal example which performs th
xdr/example_test.go:94
Function
ExampleNewEncoder
This example demonstrates how to manually encode XDR data from Go variables. Compare this example with the Marshal example which performs the same tas
xdr2/example_test.go:155
Function
ExampleNewEncoder
This example demonstrates how to manually encode XDR data from Go variables. Compare this example with the Marshal example which performs the same tas
xdr/example_test.go:151
Function
ExampleUnmarshal
This example demonstrates how to use Unmarshal to decode XDR encoded data from a byte slice into a struct.
xdr2/example_test.go:59
Function
ExampleUnmarshal
This example demonstrates how to use Unmarshal to decode XDR encoded data from a byte slice into a struct.
xdr/example_test.go:55
Method
String
String implements the fmt.Stringer interface and returns the encode function as a human-readable string.
xdr2/decode_test.go:445
Method
String
String implements the fmt.Stringer interface and returns the encode function as a human-readable string.
xdr2/encode_test.go:382
Method
String
()
xdr/decode_test.go:323
Method
String
()
xdr/encode_test.go:291
Function
TestDecoder
TestDecoder ensures a Decoder works as intended.
xdr2/decode_test.go:453
Function
TestDecoder
TestDecoder executes all of the tests described by decodeTests.
xdr/decode_test.go:331
Function
TestEncoder
TestEncoder ensures an Encoder works as intended.
xdr2/encode_test.go:390
Function
TestEncoder
TestEncoder executes all of the tests described by encodeTests.
xdr/encode_test.go:299
Function
TestErrorCodeStringer
TestErrorCodeStringer tests the stringized output for the ErrorCode type.
xdr2/error_test.go:27
Function
TestIOErr
TestIOErr ensures the IsIO function behaves as expected given different error types.
xdr2/error_test.go:145
Function
TestMarshal
TestMarshal ensures the Marshal function works properly with all types.
xdr2/encode_test.go:61
Function
TestMarshal
TestMarshal executes all of the tests described by marshalTests.
xdr/encode_test.go:28
Function
TestMarshalCorners
TestMarshalCorners ensures the Marshal function properly handles various cases not already covered by the other tests.
xdr2/encode_test.go:560
Function
TestMarshalError
TestMarshalError tests the error output for the MarshalError type.
xdr2/error_test.go:99
Function
TestUnmarshal
TestUnmarshal ensures the Unmarshal function works properly with all types.
xdr2/decode_test.go:99
Function
TestUnmarshal
TestUnmarshal executes all of the tests described by unmarshalTests.
xdr/decode_test.go:59
Function
TestUnmarshalCorners
TestUnmarshalCorners ensures the Unmarshal function properly handles various cases not already covered by the other tests.
xdr2/decode_test.go:675
Function
TestUnmarshalError
TestUnmarshalError tests the error output for the UnmarshalError type.
xdr2/error_test.go:54
Function
TestUnmarshalLimited
TestUnmarshalLimited ensures the UnmarshalLimited function properly handles various cases not already covered by the other tests.
xdr2/decode_test.go:629
← previous
101–135 of 135, ranked by callers