Method
fromValues
(type: PeHeaderType, sequence: number, dataLength: number)
Source from the content-addressed store, hash-verified
| 179 | } |
| 180 | |
| 181 | public static fromValues(type: PeHeaderType, sequence: number, dataLength: number): PeMicroHeader { |
| 182 | const cls = new PeMicroHeader(); |
| 183 | cls.type = type; |
| 184 | cls.sequence = sequence; |
| 185 | cls.dataLength = dataLength; |
| 186 | return cls; |
| 187 | } |
| 188 | |
| 189 | public static fromBuffer(buffer: Buffer): PeMicroHeader { |
| 190 | const cls = new PeMicroHeader(); |
Tested by
no test coverage detected