The getBytes method of the Win32SystemResourceDecoder Class contains the following signatures:
getBytes(int type, int strId)
getBytes(int type, String name)
Retrieves a byte block of the specified resource type, with the given identifier.
public byte[] getBytes(int type, int strId) throws ResourceFormattingException;
Returns a bytes block that contains the resource type.
type | The resource type. |
srtId | The resource identifier. |
ResourceFormattingException if the resource type or identifier are invalid.
Retrieves a byte block of the specified resource type, with the given name.
public byte[] getBytes(int type, String name) throws ResourceFormattingException;
Returns a bytes block that contains the resource type.
type | The resource type. |
name | The resource name. |
ResourceFormattingException if the resource type or identifier are invalid.