DecodeFromBytes resets the internal state of this layer to the state defined by the passed-in bytes. Slices in the DecodingLayer may reference the passed-in data, so care should be taken to copy it first should later modification of data be required before the DecodingLayer is discarded.
(data []byte, df DecodeFeedback)
| 33 | // first should later modification of data be required before the |
| 34 | // DecodingLayer is discarded. |
| 35 | DecodeFromBytes(data []byte, df DecodeFeedback) error |
| 36 | // CanDecode returns the set of LayerTypes this DecodingLayer can |
| 37 | // decode. For Layers that are also DecodingLayers, this will most |
| 38 | // often be that Layer's LayerType(). |
no outgoing calls
no test coverage detected