MCPcopy Create free account

hub / github.com/davecgh/go-xdr / functions

Functions135 in github.com/davecgh/go-xdr

↓ 1 callersMethodencodeStruct
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
FunctionBenchmarkMarshal
BenchmarkMarshal benchmarks the Marshal function by using a dummy ImageHeader structure.
xdr2/bench_test.go:57
FunctionBenchmarkMarshal
(b *testing.B)
xdr/bench_test.go:49
FunctionBenchmarkUnmarshal
BenchmarkUnmarshal benchmarks the Unmarshal function by using a dummy ImageHeader structure.
xdr2/bench_test.go:29
FunctionBenchmarkUnmarshal
(b *testing.B)
xdr/bench_test.go:26
MethodError
Error satisfies the error interface and prints human-readable errors.
xdr2/error.go:99
MethodError
Error satisfies the error interface and prints human-readable errors.
xdr/error.go:92
MethodError
Error satisfies the error interface and prints human-readable errors.
xdr/error.go:129
FunctionExampleMarshal
This example demonstrates how to use Marshal to automatically XDR encode data using reflection.
xdr2/example_test.go:28
FunctionExampleMarshal
This example demonstrates how to use Marshal to automatically XDR encode data using reflection.
xdr/example_test.go:27
FunctionExampleNewDecoder
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
FunctionExampleNewDecoder
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
FunctionExampleNewEncoder
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
FunctionExampleNewEncoder
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
FunctionExampleUnmarshal
This example demonstrates how to use Unmarshal to decode XDR encoded data from a byte slice into a struct.
xdr2/example_test.go:59
FunctionExampleUnmarshal
This example demonstrates how to use Unmarshal to decode XDR encoded data from a byte slice into a struct.
xdr/example_test.go:55
MethodString
String implements the fmt.Stringer interface and returns the encode function as a human-readable string.
xdr2/decode_test.go:445
MethodString
String implements the fmt.Stringer interface and returns the encode function as a human-readable string.
xdr2/encode_test.go:382
MethodString
()
xdr/decode_test.go:323
MethodString
()
xdr/encode_test.go:291
FunctionTestDecoder
TestDecoder ensures a Decoder works as intended.
xdr2/decode_test.go:453
FunctionTestDecoder
TestDecoder executes all of the tests described by decodeTests.
xdr/decode_test.go:331
FunctionTestEncoder
TestEncoder ensures an Encoder works as intended.
xdr2/encode_test.go:390
FunctionTestEncoder
TestEncoder executes all of the tests described by encodeTests.
xdr/encode_test.go:299
FunctionTestErrorCodeStringer
TestErrorCodeStringer tests the stringized output for the ErrorCode type.
xdr2/error_test.go:27
FunctionTestIOErr
TestIOErr ensures the IsIO function behaves as expected given different error types.
xdr2/error_test.go:145
FunctionTestMarshal
TestMarshal ensures the Marshal function works properly with all types.
xdr2/encode_test.go:61
FunctionTestMarshal
TestMarshal executes all of the tests described by marshalTests.
xdr/encode_test.go:28
FunctionTestMarshalCorners
TestMarshalCorners ensures the Marshal function properly handles various cases not already covered by the other tests.
xdr2/encode_test.go:560
FunctionTestMarshalError
TestMarshalError tests the error output for the MarshalError type.
xdr2/error_test.go:99
FunctionTestUnmarshal
TestUnmarshal ensures the Unmarshal function works properly with all types.
xdr2/decode_test.go:99
FunctionTestUnmarshal
TestUnmarshal executes all of the tests described by unmarshalTests.
xdr/decode_test.go:59
FunctionTestUnmarshalCorners
TestUnmarshalCorners ensures the Unmarshal function properly handles various cases not already covered by the other tests.
xdr2/decode_test.go:675
FunctionTestUnmarshalError
TestUnmarshalError tests the error output for the UnmarshalError type.
xdr2/error_test.go:54
FunctionTestUnmarshalLimited
TestUnmarshalLimited ensures the UnmarshalLimited function properly handles various cases not already covered by the other tests.
xdr2/decode_test.go:629
← previous101–135 of 135, ranked by callers